﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net;
using log4net.Config;

namespace AutoAdsParser
{
    class Program
    {
        public static ILog AllAdsLogger = LogManager.GetLogger("AllAdsLogger");
        public static ILog RecentAdsLogger = LogManager.GetLogger("RecentAdsLogger");

        static void Main(string[] args)
        {
            XmlConfigurator.Configure();
            var downloader = new UrlDownloader();
            downloader.DownloadUrl("http://novosibirsk.drom.ru/auto/page1/?go_search=2&maxprice=300000&s_currency=1&keywords=%F5%EE%E7%FF%E8%ED&w=2&inomarka=1&damaged=2");
            //new UrlDownloader("http://novosibirsk.drom.ru/auto/?bull_id=8579883&obj=show_contacts&crossdomain_ajax_request=2&request=ajax_show_contacts");
            Console.ReadKey();
        }
    }
}
